aboutsummaryrefslogtreecommitdiff
path: root/src/app/video/[animeId]
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-03-16 16:01:17 +0530
committerreal-zephex <[email protected]>2024-03-16 16:01:17 +0530
commit77a85a47c18f14315ebe7f99a8b5218821e9c290 (patch)
tree937acd0651327525c3712a6644121ca3127352ca /src/app/video/[animeId]
parentvercel fix (diff)
downloaddramalama-77a85a47c18f14315ebe7f99a8b5218821e9c290.tar.xz
dramalama-77a85a47c18f14315ebe7f99a8b5218821e9c290.zip
minor fixes: tried to make the video player responsive but failed
Diffstat (limited to 'src/app/video/[animeId]')
-rw-r--r--src/app/video/[animeId]/page.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/app/video/[animeId]/page.js b/src/app/video/[animeId]/page.js
index b013269..af7e690 100644
--- a/src/app/video/[animeId]/page.js
+++ b/src/app/video/[animeId]/page.js
@@ -37,11 +37,12 @@ export default function Video({ params }) {
<div className='video2'>
<p>{epi[0]} - {epi[1]}</p>
<ReactPlayer
+ className='react-player'
url={videoLink}
controls
autoplay
- width={400}
- height={"auto"}
+ width="95%"
+ height="95%"
/>
</div>
)}